﻿#pragma once


// CSettingDlg 对话框

class CSettingDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CSettingDlg)

public:
	CSettingDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CSettingDlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_SETTING };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	virtual void OnCancel();
	void ReadConfigIni();
	void SaveEditValueToConfig();
	afx_msg void OnBnClickedButtonSave();
	int m_nDisX;
	int m_nDisY;
	int m_nPerNum;
	int m_nTotalNum;
	int m_nPlasmaV;
	double m_dPlasmaR;
	int m_nGlueV;
	double m_dGlueR;
	int m_nPlasmaCircleNum;
	int m_nGlueCircleNum;
	int m_nGlueWait;
	int nPitouMax;
	BOOL OpenWeiyi;
	double m_dSpecUp;
	double m_dSpecDown;
	double m_dClearWait;
	BOOL OpenWeight;
	double WeightDelay;
	double WeightDone;
	double WeightUp;
	int PlasmaX1;
	int PlasmaY1;
	int PlasmaZ1;
	int PlasmaX2;
	int PlasmaY2;
	int PlasmaZ2;
	int PlasmaX3;
	int PlasmaY3;
	int PlasmaZ3;
	int GlueX1;
	int GlueY1;
	int GlueZ1;
	int GlueX2;
	int GlueY2;
	int GlueZ2;
	int GlueX3;
	int GlueY3;
	int GlueZ3;
	int GlueX4;
	int GlueY4;
	int GlueZ4;
	int GlueX5;
	int GlueY5;
	int GlueZ5;
	int GlueX6;
	int GlueY6;
	int GlueZ6;
	BOOL PassNGBox;
	CComboBox m_comboSpeedMode;
	BOOL PassMozu;
	BOOL PassJingtou;
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedButton2();
	afx_msg void OnBnClickedButton3();
	afx_msg void OnBnClickedButton4();
	afx_msg void OnBnClickedButton5();
	afx_msg void OnBnClickedButton6();
	BOOL CloseScan;
	int m_nPlasmaWait;
	BOOL SaveImgFlag;
	BOOL SaveResultImgFlag;
	int PlasmaX4;
	int PlasmaY4;
	int PlasmaZ4;
	afx_msg void OnBnClickedButton26();
	afx_msg void OnBnClickedButton27();
	afx_msg void OnBnClickedButton28();
	int CheckSpeed;
	int CheckDis0;
	int CheckDis1;
	int CheckDis2;
	int CheckSetPos0;
	int CheckSetPos1;
	int CheckSetPos2;
	BOOL PassCheckFlag;
	BOOL CheckSNFlag;
	int CheckSNLength;
	afx_msg void OnBnClickedButton7();
	int TanzhenLife;
	BOOL OpenNGBaojing;
	int m_nPlasmaV_lens;
	double m_dPlasmaR_lens;
	int m_nPlasmaCircleNum_lens;
	int RubGlueStep;
	afx_msg void OnBnClickedButtonCheckGd();
	double glueWidthUp;
	double glueWidthLow;
	BOOL GlueSNCheckFlag;
	CString GlueSNCheck;
	CString LgfSNCheck;
};
